import { DataTypes, Model } from "sequelize";
import { sequelize } from '../BaseDao';

export interface historyKeywordType {
  historyKeywordid: number;
  historyKeyword: string;
  clickcound: number;
}
const historyKeyword = sequelize.define(
  "historyKeyword",
  {
    historyKeywordid: {
      type: DataTypes.INTEGER,
      autoIncrement: true,
      primaryKey: true,
    },
    historyKeyword: {
      type: DataTypes.STRING,
    },
    clickcound: {
        type: DataTypes.NUMBER,
    }
  },
  {
    timestamps: false,
  }
);

export default historyKeyword;
